Get Account Balance By Sub Account
Retrieves balances for all direct sub-accounts of the specified main account
GET
https://api.spotflow.co/api/v1/balances/:accountNumber/sub-balances
Headers
authorization |
|
---|
Query Parameters
accountNumber | This filters by the specified main account number. |
---|
Sample Response:
200 OK
[
{
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"currency": "NGN",
"balance": 0,
"availableBalance": 0,
"accountTag": "main-account",
"parentAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]